/**
 * 
 */
package org.startup.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author asudar
 * 
 */
public class Customer {

	private Long id;
	private String firstName;
	private String lastName;
	private String gendar;
	private String address;
	private String country;
	private String email;
	private String mobile;

	public Customer() {
	}

	/**
	 * @param id
	 * @param firstName
	 * @param lastName
	 * @param gendar
	 * @param address
	 * @param country
	 * @param email
	 * @param mobile
	 */
	public Customer(Long id, String firstName, String lastName, String gendar,
			String address, String country, String email, String mobile) {
		super();
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
		this.gendar = gendar;
		this.address = address;
		this.country = country;
		this.email = email;
		this.mobile = mobile;
	}

	/**
	 * @return the id
	 */
	@JsonProperty
	public Long getId() {
		return id;
	}

	/**
	 * @return the firstName
	 */
	@JsonProperty
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @return the lastName
	 */
	@JsonProperty
	public String getLastName() {
		return lastName;
	}

	/**
	 * @return the gendar
	 */
	@JsonProperty
	public String getGendar() {
		return gendar;
	}

	/**
	 * @return the address
	 */
	@JsonProperty
	public String getAddress() {
		return address;
	}

	/**
	 * @return the country
	 */
	@JsonProperty
	public String getCountry() {
		return country;
	}

	/**
	 * @return the email
	 */
	@JsonProperty
	public String getEmail() {
		return email;
	}

	/**
	 * @return the mobile
	 */
	@JsonProperty
	public String getMobile() {
		return mobile;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Customer [id=");
		builder.append(id);
		builder.append(", firstName=");
		builder.append(firstName);
		builder.append(", lastName=");
		builder.append(lastName);
		builder.append(", gendar=");
		builder.append(gendar);
		builder.append(", address=");
		builder.append(address);
		builder.append(", country=");
		builder.append(country);
		builder.append(", email=");
		builder.append(email);
		builder.append(", mobile=");
		builder.append(mobile);
		builder.append("]");
		return builder.toString();
	}

}
